#!/bin/sh
# Job yaml can send below ENVIRONMENT VARIABLES to me
# - runtime
# - args
# END ENVIRONMENT VARIABLES

if [ -z "$runtime" -a -n "$args" ]; then
	runtime="$args"
fi

## delay for a specified amount of time
echo sleep started
exec sleep ${1:-$runtime}
echo sleep finished
